const reg_username = /^[A-Za-z0-9]{4,10}$/;
const reg_password = /^[A-Za-z0-9]{6,10}$/;
export function validator_username(value) {
  return reg_username.test(value);
}
export function validator_password(value) {
  return reg_password.test(value);
}
